package vip.xiaonuo.modular.business.param.BiApplication;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import vip.xiaonuo.core.pojo.base.param.BaseParam;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author cy
 * @Date 2022/8/3 16:04
 * @Version 1.0
 */
@ApiModel("用户指标编辑参数类")
@Data
public class EditParam {

    @ApiModelProperty(value = "用户选中节点",required = true,notes = "1,2,3,7,8,9,10")
    @NotNull(message = "用户选中节点不能为空，请检查userId参数", groups = {BaseParam.edit.class})
    private Long id;

    @ApiModelProperty(value = "用户选中节点",required = true,notes = "1,2,3,7,8,9,10")
    @NotNull(message = "用户选中节点不能为空，请检查userId参数", groups = {BaseParam.edit.class})
    private String name;


    @ApiModelProperty(value = "用户选中节点",required = true,notes = "1,2,3,7,8,9,10")
    @NotNull(message = "用户选中节点不能为空，请检查userId参数", groups = {BaseParam.edit.class})
    private String isEnable;


    @ApiModelProperty(value = "用户选中节点",required = true,notes = "1,2,3,7,8,9,10")
    @NotNull(message = "用户选中节点不能为空，请检查userId参数", groups = {BaseParam.edit.class})
    private String description;
}
